package tx.hw.teacher.demo01.t1;

/**
 * @author lwj
 * @date 2025-03-14
 * @vesion 1.0.0
 */
public class MainTest {
    public static void main(String[] args) {
        Box box = new Box();

        BoyThread boyThread = new BoyThread(box,"男孩");
        GirlThread girlThread = new GirlThread(box,"女孩");

        // 启动线程
        boyThread.start();
        girlThread.start();
    }
}
